package system

import (
	"context"
	"gf_blog_admin/internal/service"

	"gf_blog_admin/api/system/v1"
)

func (c *ControllerV1) UploadCompleteMultipart(ctx context.Context, req *v1.UploadCompleteMultipartReq) (res *v1.UploadCompleteMultipartRes, err error) {
	res = &v1.UploadCompleteMultipartRes{}
	res.UploadFileItem, err = service.SysUpload().CompleteMultipart(ctx, &req.UploadMultipartInput)
	return
}
